package com.contextroot.watercooler.client;

import java.io.Serializable;
import java.util.Date;

public class Message implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private String username;
	private String message;
	private Date datetime;
	
	public Message() {
		super();
	}
	public Message(String username, String message, Date datetime) {
		super();
		this.username = username;
		this.message = message;
		this.datetime = datetime;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Date getDatetime() {
		return datetime;
	}
	public void setDatetime(Date datetime) {
		this.datetime = datetime;
	}
	
	
}
